

const a = {
    name:"John"
};

const b = {
    name:'Ann'
};

const c = {
    name:'Peter'
};

c[a] = '123';
c[b] = '456';

console.log(String(a));
console.log(String(b));
console.log(c);
